<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>PC应用首页</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <script src="https://code.jquery.com/jquery-3.0.0.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
</head>
<body>

<div class="navbar navbar-default">
    <div class="container">
        <div class="hidden-xs">
            <ul class="nav navbar-nav">
                <li class="active"><a href="./index">新闻系统</a></li>
            </ul>
        </div>
    </div>
</div>

<div class="container">
    <div class="row">
        <div class="col-sm-2">
            <div class="hidden-xs list-group side-bar">
                {% for news in menu %}
                <a href="./index?label={{ news }}" class="list-group-item">{{ news }}</a>
                {% endfor %}
            </div>
        </div>
        <div class="col-sm-7">
            <div class="news-list">
                {% for news in list %}
                <div class="news-list-item clearfix" style="margin-bottom: 5px;">
                    <a href="./news?id={{ news.id }}" class="list-group-item">
                        <h3>{{ news.title }}</h3>
                        <p>
                            {{ news.description }}
                        </p>
                    </a>
                </div>
                {% endfor %}
            </div>
        </div>
    </div>
</div>
</body>
</html>